mmshaban commited on
Commit
a000cf4
·
verified ·
1 Parent(s): faa834c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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(lines=10, placeholder="Response will appear here", 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"
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()