AkashMnd commited on
Commit
e6bcf99
·
1 Parent(s): 27fd04a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -93,5 +93,11 @@ def send_to_openai(api_key, image_file):
93
  recognition = assistant_response.split('\n')
94
  return ' '.join(words), ' '.join(recognition)
95
 
96
- iface = gr.Interface(send_to_openai, ["text", "file"], ["text", "text"])
 
 
 
 
 
 
97
  iface.launch()
 
93
  recognition = assistant_response.split('\n')
94
  return ' '.join(words), ' '.join(recognition)
95
 
96
+ iface = gr.Interface(
97
+ fn=send_to_openai,
98
+ inputs=["text", "file"],
99
+ outputs=["text", "text"],
100
+ title="Rice Leaf Disease Detection Demo Using GPT-4V(ision)",
101
+ description="Made By Akash Mondal - https://github.com/akash-mondal GPT-4Vision Paper - https://cdn.openai.com/papers/GPTV_System_Card.pdf "
102
+ )
103
  iface.launch()