Rooni commited on
Commit
fd57461
·
1 Parent(s): 37cbee2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def minecraft_command(description):
17
  if response.status_code == 200:
18
  return response.json()["choices"][0]["text"].strip()
19
  else:
20
- return "Произошла ошибка при отправке запроса к OpenAI."
21
 
22
  iface = gr.Interface(fn=minecraft_command, inputs="text", outputs="text", title="Minecraft Command Generator")
23
  iface.launch()
 
17
  if response.status_code == 200:
18
  return response.json()["choices"][0]["text"].strip()
19
  else:
20
+ return "Произошла ошибка при отправке запроса."
21
 
22
  iface = gr.Interface(fn=minecraft_command, inputs="text", outputs="text", title="Minecraft Command Generator")
23
  iface.launch()