app.py
CHANGED
@@ -585,15 +585,13 @@ class App:
|
|
585 |
|
586 |
gr.Examples(
|
587 |
examples=[
|
588 |
-
# 입력 순서: [Alibaba API Key, Video, Subtotal, Star Rating, Review
|
589 |
-
["", "video/sample.mp4", 0.0,
|
590 |
-
|
591 |
-
["","video/sample2.mp4", 0.0, 5, "Good service!", "Default prompt", 1, 1, 0, 0, 0, 1, 0, 0]
|
592 |
],
|
593 |
-
inputs=[alibaba_key_input, video_input, subtotal_display, rating_input,
|
594 |
-
|
595 |
-
outputs=[analysis_display, tip_display, total_bill_display,
|
596 |
-
order_summary_display],
|
597 |
label="Example: Bad Service, Good Service"
|
598 |
)
|
599 |
|
|
|
585 |
|
586 |
gr.Examples(
|
587 |
examples=[
|
588 |
+
# 입력 순서: [Alibaba API Key, Video, Subtotal, Star Rating, Review] + [각 음식의 Qty]
|
589 |
+
["", "video/sample.mp4", 0.0, 1, "He drop the tray..so bad", 0, 0, 0, 0, 0, 2, 0, 0],
|
590 |
+
["", "video/sample2.mp4", 0.0, 5, "Good service!", 0, 0, 0, 0, 0, 2, 0, 0]
|
|
|
591 |
],
|
592 |
+
inputs=[alibaba_key_input, video_input, subtotal_display, rating_input,
|
593 |
+
review_input] + quantity_inputs,
|
594 |
+
outputs=[analysis_display, tip_display, total_bill_display, video_input, order_summary_display],
|
|
|
595 |
label="Example: Bad Service, Good Service"
|
596 |
)
|
597 |
|