giv3me4shot commited on
Commit
92bf36b
·
verified ·
1 Parent(s): bfb9958

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -47,3 +47,12 @@ with gr.Blocks() as demo:
47
  gr.Markdown("![powered_by_openrouter](https://cdn.myportfolio.com/45200424-090f-478b-9be0-85ca9dee2b39/f3a8a7fb-b385-4a7a-8bee-e325c4b9cf9b_rw_600.png?h=fe0a7278654a29de048391005c6d748f)")
48
 
49
  demo.launch()
 
 
 
 
 
 
 
 
 
 
47
  gr.Markdown("![powered_by_openrouter](https://cdn.myportfolio.com/45200424-090f-478b-9be0-85ca9dee2b39/f3a8a7fb-b385-4a7a-8bee-e325c4b9cf9b_rw_600.png?h=fe0a7278654a29de048391005c6d748f)")
48
 
49
  demo.launch()
50
+
51
+ data = {
52
+ "model": "openai/gpt-3.5-turbo",
53
+ "messages": [
54
+ {"role": "system", "content": "Anda adalah asisten bahasa Indonesia yang membantu"},
55
+ {"role": "user", "content": prompt}
56
+ ]
57
+ }
58
+