tsereno commited on
Commit
e7dff22
1 Parent(s): 6624a81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +49 -1
app.py CHANGED
@@ -257,11 +257,35 @@ with gr.Blocks() as demo:
257
  outputs=[chatbot_component],
258
  examples=
259
  [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
260
  [
261
  "",
262
  "gemini-1.5-flash-latest",
263
  "./example1.webp",
264
- "./example1.mp4",
265
  .4,
266
  1024,
267
  "",
@@ -273,6 +297,30 @@ with gr.Blocks() as demo:
273
  "",
274
  "gemini-1.5-flash-latest",
275
  "./example2.jpg",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
  "./example2.mp4",
277
  .4,
278
  1024,
 
257
  outputs=[chatbot_component],
258
  examples=
259
  [
260
+ [
261
+ "",
262
+ "gemini-1.5-flash-latest",
263
+ "",
264
+ "",
265
+ .4,
266
+ 1024,
267
+ "",
268
+ 32,
269
+ 1,
270
+ [("How far is the moon from the earth?", "")]
271
+ ],
272
+ [
273
+ "",
274
+ "gemini-1.5-flash-latest",
275
+ "",
276
+ "",
277
+ .4,
278
+ 1024,
279
+ "",
280
+ 32,
281
+ 1,
282
+ [("What is 2+2?", "")]
283
+ ]
284
  [
285
  "",
286
  "gemini-1.5-flash-latest",
287
  "./example1.webp",
288
+ "",
289
  .4,
290
  1024,
291
  "",
 
297
  "",
298
  "gemini-1.5-flash-latest",
299
  "./example2.jpg",
300
+ "",
301
+ .4,
302
+ 1024,
303
+ "",
304
+ 32,
305
+ 1,
306
+ [("Identify whether on driving range or golf course. If on golf course, identify the type of hole (par 3, 4, or 5) based on visual cues (distance markers, green size). If on golf course, describe any hazards present (bunkers, water features, rough) and mention the slope and direction of the green if possible. Identify the type of club the golfer is holding (driver, iron, putter) based on visual clues (head shape, shaft length).For simulator images, mention any special features displayed on the screen related to club selection, swing, ball flight, distance, carry, launch angle, and ball spin.Analyze parts of golfer's swing and make recommendations.", "")]
307
+ ]
308
+ [
309
+ "",
310
+ "gemini-1.5-flash-latest",
311
+ "",
312
+ "./example1.mp4",
313
+ .4,
314
+ 1024,
315
+ "",
316
+ 32,
317
+ 1,
318
+ [("Identify whether on driving range or golf course. If on golf course, identify the type of hole (par 3, 4, or 5) based on visual cues (distance markers, green size). If on golf course, describe any hazards present (bunkers, water features, rough) and mention the slope and direction of the green if possible. Identify the type of club the golfer is holding (driver, iron, putter) based on visual clues (head shape, shaft length).For simulator images, mention any special features displayed on the screen related to club selection, swing, ball flight, distance, carry, launch angle, and ball spin.Analyze parts of golfer's swing and make recommendations.", "")]
319
+ ],
320
+ [
321
+ "",
322
+ "gemini-1.5-flash-latest",
323
+ "",
324
  "./example2.mp4",
325
  .4,
326
  1024,