andyqin18 commited on
Commit
03582b6
1 Parent(s): 66f2f1a

Debug. Project End

Browse files
Files changed (3) hide show
  1. README.md +6 -2
  2. app.py +2 -1
  3. milestone3/appUI.png +0 -0
README.md CHANGED
@@ -190,7 +190,9 @@ The Repo is now connected and synced with HuggingFace space!
190
 
191
  ## 3. Create the app
192
 
193
- Modify [app.py](app.py) so that it takes in one text and generate an analysis using one of the provided models. Details are explained in comment lines. The app should look like this:
 
 
194
 
195
  ![](milestone2/app_UI.png)
196
 
@@ -298,7 +300,9 @@ trainer.push_to_hub()
298
 
299
  ## 4. Update the app
300
 
301
- Modify [app.py](app.py) so that it takes in one text and generate an analysis using one of the provided models. Details are explained in comment lines. The app should look like this:
 
 
302
 
303
  ![](milestone3/appUI.png)
304
 
 
190
 
191
  ## 3. Create the app
192
 
193
+ Modify [app.py](app.py) so that it takes in one text and generate an analysis using one of the provided models. Details are explained in comment lines.
194
+
195
+ The app should look like this:
196
 
197
  ![](milestone2/app_UI.png)
198
 
 
300
 
301
  ## 4. Update the app
302
 
303
+ Modify [app.py](app.py) so that it takes in one text and generate an analysis using one of the provided models. If you choose my fine-tuned model, there will be 10 more examples shown. Details are explained in comment lines.
304
+
305
+ The app should look like this:
306
 
307
  ![](milestone3/appUI.png)
308
 
app.py CHANGED
@@ -61,7 +61,8 @@ if st.button("Analyze"):
61
  }
62
  st.dataframe(pd.DataFrame(result_dict))
63
 
64
- # 10 Sample Table
 
65
  sample_texts = [
66
  "Please stop. If you continue to vandalize Wikipedia, as you did to Homosexuality, you will be blocked from editing.",
67
  "knock it off you bloody CWI trot",
 
61
  }
62
  st.dataframe(pd.DataFrame(result_dict))
63
 
64
+ # 10 Sample Table
65
+ st.write("Here are 10 more examples.")
66
  sample_texts = [
67
  "Please stop. If you continue to vandalize Wikipedia, as you did to Homosexuality, you will be blocked from editing.",
68
  "knock it off you bloody CWI trot",
milestone3/appUI.png CHANGED