浏览代码

update article to document

Riandy 2 周之前
父节点
当前提交
0fbd4b27e8

+ 4 - 4
end-to-end-use-cases/ArticleSummarizer/README.md

@@ -1,20 +1,20 @@
-# Android Article Summarizer App
+# Android Document Summarizer App
 
 
 
 
 <img src="./screenshot.png">
 <img src="./screenshot.png">
 
 
-This is a sample Android app to demonstrate Llama 4 multimodal and multilingual capabilities. This app allows user to take a picture/screenshot of an article, and then summarize and translate it into any of the supported languages
+This is a sample Android app to demonstrate Llama 4 multimodal and multilingual capabilities. This app allows user to take a picture/screenshot of a document, and then summarize and translate it into any of the supported languages
 
 
 ## Quick Start
 ## Quick Start
 
 
-1. Open the ArticleSummarizer folder in Android Studio
+1. Open the DocumentSummarizer folder in Android Studio
 2. Update the `API_KEY` in `AppUtils.java`
 2. Update the `API_KEY` in `AppUtils.java`
 3. Build the Android Project
 3. Build the Android Project
 4. Inside the app, tap on settings icon on top right
 4. Inside the app, tap on settings icon on top right
 5. Configure the Remote URL endpoint (any supported providers that serve Llama 4 models. For example: https://api.together.xyz)
 5. Configure the Remote URL endpoint (any supported providers that serve Llama 4 models. For example: https://api.together.xyz)
 6. Select the desired model from the drop down list. If you need to add more models, modify `ModelUtils.java`
 6. Select the desired model from the drop down list. If you need to add more models, modify `ModelUtils.java`
 7. Go back to the Main chat window
 7. Go back to the Main chat window
-8. Press the '+' button on the bottom left and select an image article (or take a picture of one!)
+8. Press the '+' button on the bottom left and select an image document (or take a picture of one!)
 9. Select the 'globe' button on the bottom left and select your languages
 9. Select the 'globe' button on the bottom left and select your languages
 10. Enter a prompt like "summarize this" and press Enter!
 10. Enter a prompt like "summarize this" and press Enter!
 
 

+ 2 - 2
end-to-end-use-cases/ArticleSummarizer/app/src/main/res/layout/activity_homescreen.xml

@@ -22,7 +22,7 @@
         android:id="@+id/tv_welcome"
         android:id="@+id/tv_welcome"
         android:layout_width="wrap_content"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_height="wrap_content"
-        android:text="Welcome to Article Summarizer!"
+        android:text="Welcome to Document Summarizer!"
         android:textSize="20sp"
         android:textSize="20sp"
         android:textStyle="bold"
         android:textStyle="bold"
         android:gravity="center"
         android:gravity="center"
@@ -33,7 +33,7 @@
         android:id="@+id/tv_description"
         android:id="@+id/tv_description"
         android:layout_width="match_parent"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_height="wrap_content"
-        android:text="Send any image article to summarize and translate into any supported languages"
+        android:text="Send any image document to summarize and translate into any supported languages"
         android:textAlignment="center"
         android:textAlignment="center"
         android:paddingBottom="16dp"/>
         android:paddingBottom="16dp"/>