Spaces:
Runtime error
Runtime error
Update copy_of_sql_gpt_3_notebook.py
Browse files
copy_of_sql_gpt_3_notebook.py
CHANGED
@@ -1,13 +1,4 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
"""Copy of sql gpt-3-notebook.ipynb
|
3 |
|
4 |
-
Automatically generated by Colaboratory.
|
5 |
-
|
6 |
-
Original file is located at
|
7 |
-
https://colab.research.google.com/drive/1yIUz4HcpR_67B1cM7e-TotZIlqF3IcXl
|
8 |
-
"""
|
9 |
-
|
10 |
-
!pip install openai
|
11 |
|
12 |
import json
|
13 |
import openai
|
@@ -79,9 +70,9 @@ prompt = "Get the full name of employee from employee table"
|
|
79 |
|
80 |
print(gpt.get_top_reply(prompt))
|
81 |
|
82 |
-
pip! install gradio
|
83 |
|
84 |
-
!nvidia-smi
|
85 |
|
86 |
-
|
|
|
|
|
87 |
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
import json
|
4 |
import openai
|
|
|
70 |
|
71 |
print(gpt.get_top_reply(prompt))
|
72 |
|
|
|
73 |
|
|
|
74 |
|
75 |
+
|
76 |
+
|
77 |
+
|
78 |
|