Update app.py
Browse files
app.py
CHANGED
@@ -59,11 +59,11 @@ def stream_gpt(prompt):
|
|
59 |
view = gr.Interface(
|
60 |
fn=stream_gpt,
|
61 |
inputs=gr.Textbox(lines=5, placeholder="Enter Arabic Word", label="Enter the Arabic word you want to learn about"),
|
62 |
-
outputs=gr.Markdown(
|
63 |
examples=["كتاب", "كيف حالك؟", "مدرسة"],
|
64 |
title="The FaseehAI Arabic Word Explorer",
|
65 |
-
description="Type an Arabic word to get its translation and grammatical insights!"
|
66 |
-
flagging_mode="never"
|
67 |
)
|
68 |
|
69 |
-
view.launch()
|
|
|
59 |
view = gr.Interface(
|
60 |
fn=stream_gpt,
|
61 |
inputs=gr.Textbox(lines=5, placeholder="Enter Arabic Word", label="Enter the Arabic word you want to learn about"),
|
62 |
+
outputs=gr.Markdown(label="Translation and grammatical benefits"),
|
63 |
examples=["كتاب", "كيف حالك؟", "مدرسة"],
|
64 |
title="The FaseehAI Arabic Word Explorer",
|
65 |
+
description="Type an Arabic word to get its translation and grammatical insights!",
|
66 |
+
flagging_mode="never" # This should be part of the same function call
|
67 |
)
|
68 |
|
69 |
+
view.launch()
|