Edward J. Schwartz
commited on
Commit
•
eb28788
1
Parent(s):
8a0f8f7
Add a real example
Browse files
app.py
CHANGED
@@ -1,8 +1,42 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
demo = gr.Interface.load("models/ejschwartz/autotrain-oo-method-test-65201136070", examples=["
|
|
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
|
|
|
5 |
|
|
|
|
|
|
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
demo = gr.Interface.load("models/ejschwartz/autotrain-oo-method-test-65201136070", examples=["
|
4 |
+
0x004010d0: 55 ?? push ebp
|
5 |
+
0x004010d1: 8b ec ?? mov ebp, esp
|
6 |
+
0x004010d3: 51 ?? push ecx
|
7 |
+
0x004010d4: 6a 1c ?? push 0x1c<28>
|
8 |
+
0x004010d6: e8 a8 00 00 00 ?? call function 0x00401183
|
9 |
|
10 |
+
0x004010db: 83 c4 04 ?? add esp, 4
|
11 |
+
0x004010de: 85 c0 ?? test eax, eax
|
12 |
+
0x004010e0: 74 0b ?? je basic block 0x004010ed
|
13 |
|
14 |
+
0x004010e2: 6a 01 ?? push 1
|
15 |
+
0x004010e4: 8b c8 ?? mov ecx, eax
|
16 |
+
0x004010e6: e8 95 ff ff ff ?? call function 0x00401080
|
17 |
|
18 |
+
0x004010eb: eb 02 ?? jmp basic block 0x004010ef
|
19 |
+
|
20 |
+
0x004010ed: 33 c0 ?? xor eax, eax
|
21 |
+
|
22 |
+
0x004010ef: 8b 08 ?? mov ecx, dword ds:[eax]
|
23 |
+
0x004010f1: 8b 51 04 ?? mov edx, dword ds:[ecx + 4]
|
24 |
+
0x004010f4: c7 04 10 29 00 00 00 ?? mov dword ds:[eax + edx], 0x00000029<41>
|
25 |
+
0x004010fb: c7 40 04 2a 00 00 00 ?? mov dword ds:[eax + 4], 0x0000002a<42>
|
26 |
+
0x00401102: c7 40 0c 2b 00 00 00 ?? mov dword ds:[eax + 12], 0x0000002b<43>
|
27 |
+
0x00401109: c7 40 10 2c 00 00 00 ?? mov dword ds:[eax + 0x10<16>], 0x0000002c<44>
|
28 |
+
0x00401110: 8b 45 fc ?? mov eax, dword ss:[ebp + 0xfc<252,-4>]
|
29 |
+
0x00401113: 8b 08 ?? mov ecx, dword ds:[eax]
|
30 |
+
0x00401115: 8b 51 04 ?? mov edx, dword ds:[ecx + 4]
|
31 |
+
0x00401118: c7 04 10 28 00 00 00 ?? mov dword ds:[eax + edx], 0x00000028<40>
|
32 |
+
0x0040111f: 8b 08 ?? mov ecx, dword ds:[eax]
|
33 |
+
0x00401121: 8b 51 04 ?? mov edx, dword ds:[ecx + 4]
|
34 |
+
0x00401124: b9 f5 ff ff ff ?? mov ecx, 0xfffffff5<4294967285,-11>
|
35 |
+
0x00401129: 66 89 4c 02 04 ?? mov word ds:[edx + eax + 4], cx
|
36 |
+
0x0040112e: 33 c0 ?? xor eax, eax
|
37 |
+
0x00401130: 8b e5 ?? mov esp, ebp
|
38 |
+
0x00401132: 5d ?? pop ebp
|
39 |
+
0x00401133: c3 ?? ret
|
40 |
+
"])
|
41 |
|
42 |
demo.launch()
|