Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
111 |
],
|
112 |
inputs=input_textbox
|
113 |
)
|
114 |
-
|
115 |
# --- Hubungkan Aksi Tombol ke Fungsi ---
|
116 |
submit_button.click(
|
117 |
fn=get_performance_data,
|
@@ -119,6 +118,24 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
119 |
outputs=output_dataframe
|
120 |
)
|
121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
# Jalankan aplikasi
|
123 |
if __name__ == "__main__":
|
124 |
demo.launch()
|
|
|
111 |
],
|
112 |
inputs=input_textbox
|
113 |
)
|
|
|
114 |
# --- Hubungkan Aksi Tombol ke Fungsi ---
|
115 |
submit_button.click(
|
116 |
fn=get_performance_data,
|
|
|
118 |
outputs=output_dataframe
|
119 |
)
|
120 |
|
121 |
+
gr.Markdown(
|
122 |
+
"""
|
123 |
+
---
|
124 |
+
### Kredit dan Sumber Daya
|
125 |
+
Aplikasi ini dibangun menggunakan sumber daya berikut:
|
126 |
+
* **Model:**
|
127 |
+
* [gchhablani/bert-base-cased-finetuned-sst2](https://huggingface.co/gchhablani/bert-base-cased-finetuned-sst2)
|
128 |
+
* [cardiffnlp/twitter-roberta-base-sentiment](https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment)
|
129 |
+
* [distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english)
|
130 |
+
* **Platform & Tools:**
|
131 |
+
* Hosting: [Hugging Face Spaces](https://huggingface.co/spaces)
|
132 |
+
* UI Framework: [Gradio](https://www.gradio.app/)
|
133 |
+
* **Bantuan Pengembangan:**
|
134 |
+
* [ChatGPT](https://chat.openai.com/)
|
135 |
+
* [Google Gemini](https://gemini.google.com/)
|
136 |
+
"""
|
137 |
+
)
|
138 |
+
|
139 |
# Jalankan aplikasi
|
140 |
if __name__ == "__main__":
|
141 |
demo.launch()
|